#include <stdlib.h>
#include <conio.h>
#include "video-graphics.h"
#include "Music.h"
#include "game.h"
#include "kbc.h"

#define ENTER 0x1c
#define UP 0x48
#define DOWN 0x50
#define LEFT 0x4b
#define RIGHT 0x4d
#define ESC 0x01
#define END 0x4f
#define DEL 0x53

typedef enum {GAME,RANKING,OPTIONS,EXIT} menu;

extern int scancode;
void kbd_isr();
void program();
void init();
void cleanscreen();
void play(char* video_mem, char* table);
void header(char * video_mem, char * table);
void print_ranking(char * video_mem, char * table);
